﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Fjaspx.UI.Web.Admin.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>福建ASP.NET技术专业站-管理后台</title>
    <style type="text/css">
        td img
        {
            display: block;
            margin: 0;
            padding: 0;
            border: 0;
        }
        body
        {
            margin-left: 0px;
            margin-top: -1px;
            margin-right: 0px;
            margin-bottom: 0px;
            font-size: 12px;
        }
    </style>

    <script src="../JavaScript/prototype.js" type="text/javascript"></script>

    <script type="text/javascript">
        function valclear() {
            $("userloginname").value = "";
            $("userloginpwd").value = "";
            $("txtCheckCode").value = "";
        }
        function check() {
            if ($("userloginname").value.replace(/\\s/g, '') == "") {
                alert("请输入帐号！");
                $("userloginname").focus();
                return false;
            }
            if ($("userloginpwd").value.replace(/\\s/g, '') == "") {
                alert("请输入密码！");
                $("userloginpwd").focus();
                return false;
            }
            if ($("txtCheckCode").value.replace(/\\s/g, '') == "") {
                alert("请输入验证码！");
                $("txtCheckCode").focus();
                return false;
            }
        }
        function loadFun() {
            $("userloginname").focus();
            document.getElementById("txtCheckCode").style.background = ""
        }
    </script>

</head>
<body onload="loadFun()">
    <form id="Form1" runat="server" name="form1" onsubmit="return check();">
    <div style="width: 100%; overflow: hidden">
        <table width="50%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <img src="images/spacer.gif" width="13" height="1" border="0" alt="" />
                </td>
                <td>
                    <img src="images/spacer.gif" width="188" height="1" border="0" alt="" />
                </td>
                <td>
                    <img src="images/spacer.gif" width="12" height="1" border="0" alt="" />
                </td>
                <td>
                    <img src="images/spacer.gif" width="15" height="1" border="0" alt="" />
                </td>
                <td>
                    <img src="images/spacer.gif" width="11" height="1" border="0" alt="" />
                </td>
                <td>
                    <img src="images/spacer.gif" width="9" height="1" border="0" alt="" />
                </td>
                <td>
                    <img src="images/spacer.gif" width="176" height="1" border="0" alt="" />
                </td>
                <td>
                    <img src="images/spacer.gif" width="374" height="1" border="0" alt="" />
                </td>
                <td>
                    <img src="images/spacer.gif" width="11" height="1" border="0" alt="" />
                </td>
                <td>
                    <img src="images/spacer.gif" width="194" height="1" border="0" alt="" />
                </td>
            </tr>
            <tr>
                <td colspan="10" background="images/admin_r1_c1.jpg">
                    &nbsp;
                </td>
                <td>
                    <img src="images/spacer.gif" width="1" height="42" border="0" alt="" />
                </td>
            </tr>
            <tr>
                <td colspan="10" background="images/admin_r2_c1.jpg">
                    &nbsp;
                </td>
                <td>
                    <img src="images/spacer.gif" width="1" height="42" border="0" alt="" />
                </td>
            </tr>
            <tr>
                <td colspan="10" background="images/admin_r3_c1.jpg" align="center">
                    <asp:Label ID="msg" runat="server" ForeColor="Red"></asp:Label>
                </td>
                <td>
                    <img src="images/spacer.gif" width="1" height="42" border="0" alt="" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <img name="admin_r4_c1" src="images/admin_r4_c1.jpg" width="201" height="74" border="0"
                        id="admin_r4_c1" alt="" />
                </td>
                <td rowspan="5">
                    <img name="admin_r4_c3" src="images/admin_r4_c3.jpg" width="12" height="268" border="0"
                        id="admin_r4_c3" alt="" />
                </td>
                <td rowspan="2" colspan="5">
                    <img name="admin_r4_c4" src="images/admin_r4_c4.jpg" width="585" height="85" border="0"
                        id="admin_r4_c4" alt="" />
                </td>
                <td rowspan="5">
                    <img name="admin_r4_c9" src="images/admin_r4_c9.jpg" width="11" height="268" border="0"
                        id="admin_r4_c9" alt="" />
                </td>
                <td>
                    <img name="admin_r4_c10" src="images/admin_r4_c10.jpg" width="194" height="74" border="0"
                        id="admin_r4_c10" alt="" />
                </td>
                <td>
                    <img src="images/spacer.gif" width="1" height="74" border="0" alt="" />
                </td>
            </tr>
            <tr>
                <td rowspan="2" colspan="2">
                    <img name="admin_r5_c1" src="images/admin_r5_c1.jpg" width="201" height="67" border="0"
                        id="admin_r5_c1" alt="" />
                </td>
                <td rowspan="2">
                    <img name="admin_r5_c10" src="images/admin_r5_c10.jpg" width="194" height="67" border="0"
                        id="admin_r5_c10" alt="" />
                </td>
                <td>
                    <img src="images/spacer.gif" width="1" height="11" border="0" alt="" />
                </td>
            </tr>
            <tr>
                <td rowspan="3" background="images/admin_r6_c4.jpg">
                    &nbsp;
                </td>
                <td colspan="2" rowspan="3" background="images/admin_r6_c4.jpg">
                    &nbsp;
                </td>
                <td rowspan="3" background="admin_r6_c4.jpg">
                    <img name="admin_r6_c7" src="images/admin_r6_c7.jpg" width="176" height="183" border="0"
                        id="admin_r6_c7" alt="" />
                </td>
                <td rowspan="3" align="center" valign="top" background="images/admin_r6_c8.jpg">
                    <form id="form2" name="form1" method="post" action="">
                    <table width="280" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="17%" height="40">
                                帐&nbsp;&nbsp;&nbsp;号:
                            </td>
                            <td width="83%" align="left">
                                <asp:TextBox ID="userloginname" runat="server" MaxLength="25" Height="16px" Width="140px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td height="40">
                                密&nbsp;&nbsp;&nbsp;码:
                            </td>
                            <td align="left">
                                <asp:TextBox ID="userloginpwd" runat="server" MaxLength="25" Height="16px" TextMode="Password"
                                    Width="140px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td height="40">
                                验证码:
                            </td>
                            <td align="left">
                                <table border="0" cellpadding="0" cellspacing="0" align="left" width="100%">
                                    <tr>
                                        <td width="50px">
                                            <asp:TextBox ID="txtCheckCode" runat="server" MaxLength="5" Width="35px" Height="16px"></asp:TextBox>
                                        </td>
                                        <td>
                                            <img src="tools/checkcode.aspx" onclick="this.src='tools/checkcode.aspx?id=XX'" alt="点击刷新验证码"
                                                id="vcodeimg" style="cursor: pointer;" />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" align="center">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td width="39%" align="left" valign="top">
                                            <asp:ImageButton runat="server" ID="login" ImageUrl="~/admin/images/admin_r8_c9.jpg"
                                                Width="90" Height="35" OnClick="login_Click" />
                                        </td>
                                        <td width="61%" align="left" valign="top">
                                            <img src="images/admin_r8_c11.jpg" width="90" height="35" onclick="valclear();" style="cursor: hand;" />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                    </form>
                </td>
                <td>
                    <img src="images/spacer.gif" width="1" height="56" border="0" alt="" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <img name="admin_r7_c1" src="images/admin_r7_c1.jpg" width="201" height="67" border="0"
                        id="admin_r7_c1" alt="" />
                </td>
                <td>
                    <img name="admin_r7_c10" src="images/admin_r7_c10.jpg" width="194" height="67" border="0"
                        id="admin_r7_c10" alt="" />
                </td>
                <td>
                    <img src="images/spacer.gif" width="1" height="67" border="0" alt="" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <img name="admin_r8_c1" src="images/admin_r8_c1.jpg" width="201" height="60" border="0"
                        id="admin_r8_c1" alt="" />
                  
                </td>
                <td>
                    <img src="images/admin_r8_c10.jpg" width="194" height="60" border="0" alt="" />
                </td>
                <td>
                    <img src="images/spacer.gif" width="1" height="60" border="0" alt="" />
                </td>
            </tr>
            <tr>
                <td background="images/admin_r9_c1.jpg">
                    &nbsp;
                </td>
                <td background="images/admin_r9_c1.jpg">
                    &nbsp;
                </td>
                <td background="images/admin_r9_c3.jpg">
                    &nbsp;
                </td>
                <td background="images/admin_r9_c4.jpg">
                    &nbsp;
                </td>
                <td background="images/admin_r9_c4.jpg">
                    &nbsp;
                </td>
                <td colspan="3" background="images/admin_r9_c4.jpg">
                    &nbsp;
                </td>
                <td background="images/admin_r9_c9.jpg">
                    &nbsp;
                </td>
                <td background="images/admin_r9_c11.jpg">
                    &nbsp;
                </td>
                <td>
                    <img src="images/spacer.gif" width="1" height="200" border="0" alt="" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
